package pingji.service.query.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pingji.dao.query.QueryOrderDao;
import pingji.pojo.QueryOrderListObject;
import pingji.service.query.QueryOrderService;

import java.util.List;
@Service
public class QueryOrderServiceImpl implements QueryOrderService {
    @Autowired
    QueryOrderDao dao;
    @Override
    public List<QueryOrderListObject> queryByUserId(Integer id) {
        return dao.queryByUserId(id);
    }

    @Override
    public List<QueryOrderListObject> queryAllOrder(Integer id) {
        return dao.queryAllOrder(id);
    }

}
